/**
 * Created by Administrator on 2015/12/22 0022.
 */
function ProgressBar1(parent){
    var $bj=$("<div class='di'></div>")
    var $lubj=$("<div class='lubj'></div>")
    var $kuai=$("<div class='kuai'></div>")
    
    $lubj.append($kuai);
    $bj.append($lubj);
    parent.append($bj);
    this.setStaticWH=function(width,height){
        $bj.css({
            "height":height+"px",
            "width":width+"px",
        })
    }
    this.setMoveWidth=function(Wpercent){
        $lubj.css({
            "width":Wpercent+"%"
        })
    }
    this.setPosition=function(left,top){
        $bj.css({
            "left":left+"px",
            "top":top+"px",
        })
    }
}